home *** CD-ROM | disk | FTP | other *** search
- Path: news.lpr.carel.fi!usenet
- From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: H E L P
- Date: Thu, 04 Apr 1996 12:28:53 +0200
- Organization: Carelcomp Products
- Message-ID: <3163A465.2AB7@cmt.lpr.mail.carel.fi>
- References: <N.040296.013047.18@DynamicPPP-185.HIP.CAM.ORG> <Pine.A32.3.91.960402135001.121719B-100000@green.weeg.uiowa.edu> <4js6jh$ndr@solutions.solon.com> <DpAx1J.4n9@iquest.net> <4juui7$a8a@solutions.solon.com>
- NNTP-Posting-Host: renoir.cclahti.carel.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Peter Seebach wrote:
- >
- > For extra credit, prove that you can do at least 15-bit numbers within
- > numbers with the 15 levels of nesting guaranteed by the standard, and
- > point out the limitation you'd run into, and at least one way around it
- > without relying on loops.
- >
-
- Shift the number right by one bit at each level. And back when printing.
-
- Later,
- AriL
- --
- All my opinions are mine and mine alone.
-